import React, { Component } from 'react'
import { Route, BrowserRouter} from 'react-router-dom'
import App from '../container/App'
import SubRouter from './SubRouter'

export default class AppRouter extends Component{
  render(){
    return(
      <BrowserRouter>
        <App>
<<<<<<< HEAD
=======
          {/*<Redirect to='/home' />*/}
>>>>>>> 7da4bfaaf492f22dea3aac24ecff401c9f569778
          <Route path='/' component={SubRouter}></Route>
        </App>
      </BrowserRouter>
    )
  }
}
